package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;
import com.dongdongshop.vo.SpecVo;

import java.util.List;

public interface SpecService {
    List<TbSpecification> listSpec();

    void addSpec(String specName, List<TbSpecificationOption> tbSpecificationOptions);

    SpecVo toUpdate(Long id);

    void update(Long id, String specName, List<TbSpecificationOption> tbSpecificationOptions);

    void delSpecs(List<Long> ids);
}
